<?php

/**
 * Comentario form.
 *
 * @package    form
 * @subpackage Comentario
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
 */
class ComentarioForm extends BaseComentarioForm
{
	public function configure()
	{
		parent::configure();

		$this->widgetSchema['data_comentario'] = new sfWidgetFormInput(array(), array('class'=>'datepicker', 'size'=> 20));
        //$this->validatorSchema['data_comentario'] = new sfValidatori18nDate(array('required' => false));

		$this->widgetSchema->setLabels(array(
			'id_comentario'   => '#ID',
	      	'descricao'       => 'Descrição',
	      	'data_comentario' => 'Data',
	      	'status'          => 'Status',
	      	'id_midia'        => 'Midia',
	      	'id_evento'       => 'Evento'
		));
	}
}